package com.wsq.glidedemo;

import androidx.appcompat.app.AppCompatActivity;
import androidx.lifecycle.ViewModel;
import androidx.lifecycle.ViewModelProvider;
import androidx.lifecycle.ViewModelStore;

import android.os.Bundle;
import android.os.Handler;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ImageView imageView = findViewById(R.id.dde);
        Glide.with(this).load("").into(imageView);
        Handler handler = new Handler();

        MyViewModel myViewModel = new ViewModelProvider(this).get(MyViewModel.class);

    }

    class MyViewModel extends ViewModel{

    }
}